﻿using AdventureWorks.Entities;

namespace AdventureWorksData.DAO
{
	public interface IUnitOfWork
	{
		IGenericRepository<Customer> Customers { get; }
		IGenericRepository<Address> Addresses { get; }
		IGenericRepository<Product> Products { get; }
		IGenericRepository<ProductModel> ProductModels { get; }
		IGenericRepository<ProductCategory> ProductCategories { get; }
		void Save();
		void Dispose();
	}
}
